set(LLVM_NO_RTTI 1)

add_clang_library(clangCodeGen
  CGBlocks.cpp
  CGBuiltin.cpp
  CGCXX.cpp
  CGCXXTemp.cpp
  CGCall.cpp
  CGDebugInfo.cpp
  CGDecl.cpp
  CGExpr.cpp
  CGExprAgg.cpp
  CGExprComplex.cpp
  CGExprConstant.cpp
  CGExprScalar.cpp
  CGObjC.cpp
  CGObjCGNU.cpp
  CGObjCMac.cpp
  CGRecordLayoutBuilder.cpp
  CGStmt.cpp
  CodeGenFunction.cpp
  CodeGenModule.cpp
  CodeGenTypes.cpp
  Mangle.cpp
  ModuleBuilder.cpp
  TargetABIInfo.cpp
  )
